package com.naiterui.ehp.bs.cms.common.constants;

/**
 * <pre>
 *      缓存前缀
 * </pre>
 *
 * @author 王泽浩
 * @date 2018/5/9 下午4:15
 * @since 1.0.0
 */
@SuppressWarnings("WeakerAccess")
public class CacheConstants {

    /**
     * 系统key前缀
     */
    public static final String REDIS_PREFIX = "cms_";

    /**
     * 用户菜单
     */
    public static final String USER_MENU_LIST = REDIS_PREFIX + "user_menu_list";

    public static final String CLASSIFICATION = REDIS_PREFIX + "classification_";

    public static final String CITY = REDIS_PREFIX + "city";

    public static final String USER = REDIS_PREFIX + "user";
    /**
     * 菜单列表
     */
    public static final String MENU_LIST = REDIS_PREFIX + "menu_list";
    public static final String MENU_ALL = REDIS_PREFIX + "menu_all";

    /**
     * 部门列表
     */
    public static final String DEPT_LIST = REDIS_PREFIX + "dept_list";

    /**
     * 权限缓存
     */
    public static final String PERMISSION_CACHE_PREFIX = REDIS_PREFIX + "permission_cache_";

    /**
     * 用户登录失败
     */
    public static final String USER_LOGIN_ERROR = REDIS_PREFIX + "user_login_";
    /**
     * 用户修改密码
     */
    public static final String USER_UPDATE_PAWD = REDIS_PREFIX + "user_update_pawd_";

    /**
     * 验证码
     */
    public static final String VERIFY_CODE = REDIS_PREFIX + "code_";

    /**
     * 医院
     */
    public static final String HOSPITAL = REDIS_PREFIX + "hospital_";
}

